package com.ruoyi.cm.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工序业务对象 cm_bs_process
 *
 * @author zxs
 * @date 2024-10-16
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class CmBsProcessBo extends BaseEntity {

    /**
     * id
     */
//    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 工序名称
     */
    @NotBlank(message = "工序名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 排序
     */
//    @NotNull(message = "排序不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer sort;

    /**
     * 文件类型(验收文件、视频、图片、检测表)
     */
//    @NotBlank(message = "文件类型(验收文件、视频、图片、检测表)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fileType;

    /**
     * 是否启用(1:启用；0:未启用)
     */
//    @NotNull(message = "是否启用(1:启用；0:未启用)不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long enabled;

    /**
     * 备注
     */
//    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;
    //付款比例
    private String paymentRatio1;
    private String paymentRatio2;


}
